/*
 * calibration.h
 *
 *  Created on: 2017年9月13日
 *      Author: shine
 */

#ifndef CALIBRATION_H_
#define CALIBRATION_H_

#include "microprocessor_definitions.h"

typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int size_t;

struct CalibrationValues calval[6];

extern uint16_t write_position;
uint8_t calibration_data_read_offset[6];
extern uint8_t outbuffer[JOINT_OUTBUFFER_SIZE];

char joint_partD_calibration_received[6];
char calibration_is_ok[6];
uint8_t sending_calibration_data_to_joint[6];

char getting_calibration_data_from_joint[6];
uint8_t calibration_data_send_offset[6];

extern uint8_t read_position;
extern uint8_t inbuffer[JOINT_INBUFFER_SIZE];

char calibration_checksum_part_A_ok[6];
char calibration_checksum_part_A_file_ok[6];


#endif /* CALIBRATION_H_ */
